package cn.edu.pku.ss.music.util;

import java.util.List;

import cn.edu.pku.ss.music.entities.Music;

public class GlobalResource {
	private static GlobalResource resource;
	private List<Music> musics;

	private GlobalResource() {

	}

	public static GlobalResource getInstance() {
		if (resource == null)
			resource = new GlobalResource();
		return resource;
	}

	public List<Music> getMusics() {
		return musics;
	}

	public void setMusics(List<Music> musics) {
		this.musics = musics;
	}

}
